/* components/footer-bar/footer-bar.wxss */
.tab-bar {
  height: 148rpx;
  position: fixed;
  // z-index: 99 !important;
  z-index: 98 !important;
  bottom: 42rpx;
  left: 20rpx;
  right: 20rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border-radius: 40rpx;

  .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 8rpx;
    font-family: PingFang SC-Medium;
    font-weight: 500;
    font-size: 28rpx;
    color: #313131;
    line-height: 44rpx;
    color: rgb(175, 172, 172);
    position: relative;
    .tab-icon {
      width: 48rpx;
      height: 48rpx;
    }
    .unread-num{
      box-sizing: border-box;
      position: absolute;
      right: 35rpx;
      top: -10rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      min-width: 40rpx;
      padding: 0 10rpx;
      width: max-content;
      height: 40rpx;
      background: #FF7828;
      border-radius: 25px;
      font-family: PingFang SC, PingFang SC;
      font-weight: 400;
      font-size: 24rpx;
      color: #FFFFFF;
    }
  }

  .active {
    color: #FF7828;
  }
}